//
//  GYX_OutDoorsCollectionViewCell.m
//  
//
//  Created by dllo on 16/10/20.
//
//

#import "GYX_OutDoorsCollectionViewCell.h"
#import "GYX_LiveList.h"
#import "GYX_CollectionData.h"
#import "UIImageView+WebCache.h"
@implementation GYX_OutDoorsCollectionViewCell
- (void)setData:(GYX_CollectionData *)data {
    _data = data;
    [_headImage sd_setImageWithURL:[NSURL URLWithString:data.roomCover]];
    _nameLabel.text = data.userBasicInfo.nickName;
    _countLabel.text = data.userBasicInfo.descriptionField;
}
- (void)layoutSubviews {
    [super layoutSubviews];
    _headImage.layer.cornerRadius = 8;
    _headImage.layer.masksToBounds = YES;
    _liveLabel.layer.cornerRadius = 8;
    _liveLabel.layer.borderWidth = 2.0;
    _liveLabel.layer.masksToBounds = YES;
}
@end
